<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>this.props.children</title>
    <script src="../build/react.min.js"></script>
    <script src="../build/react-dom.min.js"></script>
    <script src="../build/browser.min.js"></script>
    <style type="text/css">
        .font16{
            font-size: 16px;
            color: blue;
        }
    </style>
</head>
<body>
<div id="example"></div>
<script type="text/babel">
    var NodeList = React.createClass({
        render: function () {
            return (
            <ol>
            {
                React.Children.map(this.props.children, function (child) {
                        return <li className='font16'>{child}</li>;
                    })
            }
            </ol>);
        }
    });
    ReactDOM.render(
    <NodeList>
        <span>li</span>
        <span>ocean</span>
        <span>Lee</span>
    </NodeList>,
            document.getElementById('example')
    );
</script>
</body>
</html>